package com.tyk.bookstore.front.payment.model.query;


import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.DecimalMin;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.math.BigDecimal;

@Data
public class MemberRechargeQuery {
    @Schema(description = "充值金额")
    @NotNull
    @DecimalMin("0.01")
    private BigDecimal amount;
}
